UnixStream

Undocumented in source.

Members

Functions

accept
NetworkStream accept()
Undocumented in source. Be warned that the author may not have intended to support it.
bind
void bind(string to)

bind() just remember address. We will cal bind() at the time of connect as we can have several connection trials.

bind
void bind(Address addr)
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
connect
NetworkStream connect(string host, ushort port, Duration timeout)

Make connection to remote site. Bind, handle connection error, try several addresses, etc

dg
NetworkStream dg(string scheme, string host, ushort port)
Undocumented in source. Be warned that the author may not have intended to support it.
listen
void listen(int n)
Undocumented in source. Be warned that the author may not have intended to support it.
open
void open(AddressFamily fa)
Undocumented in source. Be warned that the author may not have intended to support it.
receive
ptrdiff_t receive(void[] buff)
Undocumented in source. Be warned that the author may not have intended to support it.
send
ptrdiff_t send(const(void)[] buff)
Undocumented in source.
setFactorySocket
void setFactorySocket(string socket)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

isConnected
bool isConnected [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isOpen
bool isOpen [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
readTimeout
Duration readTimeout [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
reuseAddr
bool reuseAddr [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
so
Socket so [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta